package com.pitaya.avatar.service;

import java.util.List;
import java.util.ArrayList;

import com.pitaya.avatar.domain.Area;

public interface IClusterService {
	
	/*
	 * @param
	 * clusterNodes: list of nodes which will be separated by different clusters
	 * k: count of clusters
	 */
	public ArrayList<ArrayList<IClusterNode>> getNodeClusters(List<? extends IClusterNode> clusterNodes, int k);
	
	/*
	 * @param
	 */
	public ArrayList<Area> getNodeAreas(ArrayList<ArrayList<IClusterNode>> nodeClusters, String area_type);
	
	public Area getNodeArea(ArrayList<IClusterNode> nodes, String area_type);
	
}
